package com.stadium.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 球员表
 *
 * @author wsl
 * @email
 * @date 2021-05-11 14:58:57
 */
@Data
@ApiModel(value = "球员表Dto")
public class GamePlayerDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "球员id")
    private String playerId;
    @ApiModelProperty(value = "性别（0：未知 1：女 2：男）")
    private String sex;
    @ApiModelProperty(value = "地区")
    private String area;
    @ApiModelProperty(value = "身高 CM")
    private Integer height;
    @ApiModelProperty(value = "体重 KG")
    private Integer weight;
    @ApiModelProperty(value = "球龄")
    private Integer ballAge;
    @ApiModelProperty(value = "球衣编号")
    private Integer jerseyNum;
    @ApiModelProperty(value = "用户姓名(昵称)")
    private String name;
    @ApiModelProperty(value = "手机号")
    private String phoneNum;
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    @ApiModelProperty(value = "头像")
    private String headPortrait;
    @ApiModelProperty(value = "角色（1：球员，2：球队管理者）")
    private String role;
    @ApiModelProperty(value = "是否是赛事管理员（0：否，1：是）")
    private String isAdmin;

    @ApiModelProperty(value = "人脸特征值md5")
    private String fileMd5;
    @ApiModelProperty(value = "人脸特征值内容")
    private String content;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "teamuserId")
    private String teamuserId;
}
